export type DateString = string;

export interface APIPagination<T> {
  results: T[];
  count: number;
  next: string;
  prev: string;
}

export type JustObject = Record<string, never>;

export interface PaginationI {
  onChange: (page: number) => void;
  pageCount: number;
  pageIndex: number;
}

export interface OptionI {
  id: string | number;
  name: string;
}
